import React from 'react'

export default function Gege({ car, setCar }) {
  return (
    <div>
      <h1>我经过努力开{car}</h1>
      <button onClick={() => { setCar("劳斯莱斯") }}>换车啦</button>
    </div>
  )
}
